<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>订单测试</title>

</head>
<body>

<!--<a th:href="@{/order/confirmOrder(userId=63,schedulerId=12935,itemId=98,totalCount=2,sourceType=0,isNeedInvoice=0,isNeedInsurance=0,areaLevel=1)}">-->
<!--&lt;!&ndash;<a th:href="@{/order/confirmOrder/63/12935/98/1/0/0/0/1}">&ndash;&gt;-->
    <!--href=/order/confirmOrder?userId=63&schedulerId=12936&itemId=99&totalCount=1&sourceType=0&isNeedInvoice=0&isNeedInsurance=0&areaLevel=1-->
        <!--下单-->
<!--</a>-->
<a th:href="@{/order/multi/confirm(schedulerId=12733,itemId=17,totalCount=1,areaLevel=2)}">下单</a>
<hr>
<a th:href="@{/order/orderList}">订单查询</a>
<hr>
<a th:href="@{/order/test/session(uId=999,schedulerId=12935)}">测试跳转</a>
<hr>
<a th:href="@{/order/test/confirm}">测试数据获取</a>
<hr>
<div id="ref">

</div>
<hr>
下订单需要提供内容
1.user id  从session获取
2.活动场次id
3.活动 id
4.购买数量
5.客户端来源
6.发票
7.保险
8.座位(价格)
<hr>

<div id="a" data-spm="title"></div>

<script src="../../static/js/jquery-3.3.1.min.js" th:src="@{/js/jquery-3.3.1.min.js}"></script>
<script>
 $(function () {

     //使用ajax获取数据
     $.ajax({
         url:'/order/test/orderList?userId=66',
         type:'get',
         success:function (data) {
             query(data);
         }
     });

     //数据展示
     function query(data) {
         $('[data-spm=title]').html(data[0].orderNo +'>>>>'+data[0].item.itemName);
     }
     var data = '/damai/image/index/169070_n.jpg';
     var html = '';
     $('#ref').append(html);

 })
</script>
<script type="text/html" id="#scr">
    <img th:src="@{/damai/image/index/169070_n.jpg}">
</script>
</body>
</html>